﻿using System;
using System.Collections.Generic;
using System.Web;

namespace RaceList.activity.util
{
    /// <summary>
    ///     用户授权登陆后存储于Session中的用户数据
    /// </summary>
    public class UserData : IDisposable
    {
        public string OpenId { get; set; }
        public int WeixinUserId { get; set; }
        public string HeadUrl { get; set; }

        public void Dispose()
        {
            HttpContext.Current.Session[Keys.UserDatastr] = null;
        }
    }
}